package com.heima.feign;

import com.heima.model.apuser.entity.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("leadnews-apuser")
public interface ApUserClient {

    @PostMapping("getUser/{id}")
    public ApUser getUser(@PathVariable Long id);
}
